home *** CD-ROM | disk | FTP | other *** search
Visual Basic class definition | 1999-08-19 | 1.6 KB | 71 lines |
- VERSION 1.0 CLASS
- BEGIN
- MultiUse = -1 'True
- Persistable = 0 'NotPersistable
- DataBindingBehavior = 0 'vbNone
- DataSourceBehavior = 0 'vbNone
- MTSTransactionMode = 0 'NotAnMTSObject
- END
- Attribute VB_Name = "IService"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = True
- Attribute VB_PredeclaredId = False
- Attribute VB_Exposed = True
- '****************************************************************************************************
- ' Copyright (c) Key Technology Pty Ltd 1999, All Rights Reserved.
- ' Web site: http://www.keytech.com.au Email: info@keytech.com.au
- '****************************************************************************************************
-
- Option Explicit
-
- '
- ' Return true if the service supports pause and continue operations
- '
- Public Property Get Pausable() As Boolean
-
- End Property
-
- '
- ' This method is called when the service is started.
- ' It should initiate the service work and then return promptly.
- '
- Public Sub OnStart()
-
- End Sub
-
- '
- ' This method is called when the service is being stopped.
- ' It should terminate the service work and then return promptly.
- '
- Public Sub OnStop()
-
- End Sub
-
- '
- ' This method is called when the service is being paused.
- '
- Public Sub OnPause()
-
- End Sub
-
- '
- ' This method is called when the service is being continued.
- '
- Public Sub OnContinue()
-
- End Sub
-
- '
- ' This method is called whenever a service specific control is sent.
- '
- Public Sub OnControl(ByVal OpCode As Long)
-
- End Sub
-
- '
- ' This method is called when the system is being shutdown.
- '
- Public Sub OnShutdown()
-
- End Sub
-